import axios from 'axios'
export const get_list = () =>{
    return (dispatch)=>{
        axios.get('/list').then(res=>{
            dispatch({
                type:'GET_LIST',
                payload:res.data
            })
        })
    }
}